Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) Add a CI workflow that tracks bundle sizes changes #15

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

denniskigen
Copy link
Member

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

Adds a CI workflow that evaluates bundle size changes per commit. This PR also adds an analyze script to the manifest file that developers can run to view a graphical overview of the bundle that this app exports.

@github-actions
Copy link

Size Change: 0 B

Total Size: 732 kB

ℹ️ View Unchanged
Filename Size
dist/193.js 33.1 kB
dist/225.js 9.82 kB
dist/272.js 6.59 kB
dist/294.js 2.63 kB
dist/366.js 6.94 kB
dist/591.js 2.96 kB
dist/595.js 106 kB
dist/634.js 777 B
dist/709.js 2.42 kB
dist/852.js 174 kB
dist/986.js 193 kB
dist/main.js 191 kB
dist/openmrs-form-engine-lib.js 3.25 kB

compressed-size-action

Copy link
Member

@donaldkibet donaldkibet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks @denniskigen

@donaldkibet donaldkibet merged commit 15097b8 into main Apr 11, 2023
@donaldkibet donaldkibet deleted the chore/bundle-size-checking branch April 11, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants